/**
 * Copyright (C) 2013-2015
 *
 * @file   on_action_invoke.c
 *
 * @remark
 *
 */

#include "on_action_invoke.h"
#include "iid.h"
#include "S_2_Lock_doAction.h"

void on_action_invoke(action_operation_t *o)
{
    MI_LOG_INFO("[on_action_invoke]siid %d, aiid %d\n", o->siid, o->aiid);
    
    switch (o->siid)
    {
        case IID_2_Lock:
            S_2_Lock_doAction(o);
            break;

        default:
            o->code = OPERATION_INVALID;
            break;
    }
}
